package com.longqin.business.service;

import com.longqin.business.entity.BusProject;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 项目管理 服务类
 * </p>
 *
 * @author longqin
 * @since 2025-01-21
 */
public interface IBusProjectService extends IService<BusProject> {

	BusProject getById(int id);
	
	List<BusProject> getPage(String projectName, int organizationId, int startIndex, int pageSize);
	
	int getCount(String projectName, int organizationId);
	
    int delete(int id) throws Exception;
    
    int updateStatus(int status, int id) throws Exception;
    
    int updateBeginDate(int id) throws Exception;
    
    int create(BusProject entity) throws Exception;
    
    int update(BusProject entity) throws Exception;
    
    BusProject getByWorkId(int workId);
}
